//调用接口配置文件
import { request } from 'config/request'
// 定义接口
//详情
export async function getDetail (params) {
  return request({
    url: `admin/seckill/queryDetail/${params.id}`,
    method: 'GET',
    data: {}
  })
}

//查询3级地址信息
export async function areAddressGet (params) {
  return request({
    url: 'admin/address/queryAllAddress',
    method: 'GET',
    data: params,
    headers: {
      'Content-type': 'application/json',
    }
  })
}

